package com.ty.mapper;

import com.ty.bean.AgentInquiryProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AgentInquiryProductMapper {

    /**
     * 批量保存
     * @param sn
     * @param agentInquiryProducts
     * @return
     */
    int batchSave(@Param("sn") String sn, @Param("agentInquiryProducts")List<AgentInquiryProduct> agentInquiryProducts);

    /**
     * 批量更新
     * @param sn
     * @param agentInquiryProducts
     * @return
     */
    int bathUpdate(@Param("sn") String sn, @Param("agentInquiryProducts")List<AgentInquiryProduct> agentInquiryProducts);
}

